package com.kgc.scd.mapper;

import com.kgc.scd.bean.OrderComment;
import com.kgc.scd.bean.OrderItem;
import com.kgc.scd.bean.OrderItemExample;
import java.util.List;

import com.kgc.scd.bean.OrderNotComment;
import org.apache.ibatis.annotations.Param;

public interface OrderItemMapper {
    long countByExample(OrderItemExample example);

    int deleteByExample(OrderItemExample example);

    int deleteByPrimaryKey(Integer itemId);

    int insert(OrderItem record);

    int insertSelective(OrderItem record);

    List<OrderItem> selectByExample(OrderItemExample example);

    OrderItem selectByPrimaryKey(Integer itemId);

    int updateByExampleSelective(@Param("record") OrderItem record, @Param("example") OrderItemExample example);

    int updateByExample(@Param("record") OrderItem record, @Param("example") OrderItemExample example);

    int updateByPrimaryKeySelective(OrderItem record);

    int updateByPrimaryKey(OrderItem record);

   List<OrderNotComment> orderProducts (@Param("user")String user);

   List<OrderComment> OrderCommentProducts(@Param("user")String user,@Param("level")Integer level,@Param("time")Integer time);
}